<?php echo $this->doctype() ?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <base href="<?php echo $this->baseHref ?>"></base>
        <?php echo $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8') ?>
        <?php echo $this->headTitle() ?>
        <?php echo $this->headLink()->appendStylesheet($this->baseUrl() . '/dojo/dojox/grid/resources/claroGrid.css', 'screen') ?>
        <?php echo $this->headLink()->appendStylesheet($this->baseUrl() . '/dojo/dojox/form/resources/FileInput.css', 'screen') ?>
        <?php echo $this->headLink()->appendStylesheet($this->baseUrl() . '/widget/SupplyForm/css/form.css', 'screen') ?>
        <?php echo $this->headLink()->appendStylesheet($this->baseUrl() . '/widget/SettingForm/css/form.css', 'screen') ?>
        <?php echo $this->headLink()->appendStylesheet($this->baseUrl() . '/widget/ProductForm/css/form.css', 'screen') ?>
        <?php echo $this->headLink()->appendStylesheet($this->baseUrl() . '/css/style.css', 'screen') ?>
        <?php echo $this->headStyle() ?>
        <?php if ($this->dojo()->isEnabled()) {
                  $this->dojo()->setDjConfigOption('parseOnLoad', false)
                               ->setDjConfigOption('locale', 'en')
                               ->setDjConfigOption('packages', array(array("name"=>"widget","location"=>$this->baseUrl() . "/widget")))
                               ->setDjConfigOption('async', true)
                               ->setDjConfigOption('has', array("dojo-firebug"=>true))
                               ->setDjConfigOption('image', "images/")
                               ->setLocalPath($this->baseUrl() . '/dojo/dojo/dojo.js')                               
                               ->addStyleSheetModule('dijit.themes.claro');

                  echo $this->dojo();
              }
        ?>
        <?php echo $this->headScript()->setAllowArbitraryAttributes(true) ?>
    </head>
    <body class="claro">
        <div id="wrapper">
            <?php echo $this->layout()->content ?>
        </div>
        <?php echo $this->inlineScript() ?>
    </body>
</html>
